<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>01-拖拽示例</title>
    <style>
        .img-box img {
            width: 200px;
            height: 200px;
        }
    </style>
</head>
<body>
    <div>
        文字选中拖动
    </div>
    <div>
        <a href="www.baidu.com">我是a标签链接</a>
    </div>
    <div class="img-box">
        <img src="./hs.png" alt="">
    </div>
    <!-- 我是一个普通的div盒子 -->
    <div draggable="true">我是draggable属性为true的div盒子</div>
</body>
</html>